//
//  PhotoCollectionViewCell.m
//  Movie
//
//  Created by tengyang on 15/7/23.
//  Copyright (c) 2015年 tengyang. All rights reserved.
//

#import "PhotoCollectionViewCell.h"
#import "PhotoScrollView.h"

@implementation PhotoCollectionViewCell

- (id)initWithFrame:(CGRect)frame
{
    self=[super initWithFrame:frame];
    if (self) {
        _scrollView=[[PhotoScrollView alloc]initWithFrame:self.bounds];
        _scrollView.tag=100;
        [self.contentView addSubview:_scrollView];
    }
    return self;
}

- (void)setUrlStr:(NSString *)urlStr
{
    _urlStr=urlStr;
    _scrollView.urlStr=_urlStr;
}

@end
